<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<c:import url="header.jsp">
  <c:param name="title" value="Přihlášení | Hokejové fórum pro všechny fanoušky"/>
</c:import>
<f:requestEncoding value="utf-8"/>
<stripes:useActionBean var="l" binding="/login.action"/>
<div id="login">
      <h2>Přihlaš se:</h2>
       <stripes:form beanclass="action.LoginActionBean" focus="">
        <table>
        <tr>
        <th>Login</th>
        <td><stripes:text name="login" class="border"/></td>
        <td><stripes:errors field="login"/>${l.errMsg}</td>
        </tr>
        <tr>
         <th>Heslo</th>
         <td><stripes:password name="password" class="border"/></td>
         <td><stripes:errors field="password"/></td>
        </tr>
        <tr>
         <th></th>
         <td><stripes:submit name="log" value="Přihlaš se"/></td>
        </tr>
       </table>
      </stripes:form>
      <p></p>
    </div>
<c:import url="footer.jsp">
</c:import>